package com.yhx.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 角色表与菜单表的中间表，一个角色有多个菜单
 * @TableName t_role_menu
 */
@TableName(value ="t_role_menu")
@Data
public class RoleMenu implements Serializable {
    /**
     * 
     */
    private Integer roleId;

    /**
     * 
     */
    private Integer menuId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}